package com.supply.dl.constant;

import android.os.Environment;

import java.io.File;

public class Constants
{
	/**
	 * 每一页的数据条数
	 */
	public static final int PAGE_NUM = 20;

	public static final class Config
	{
		public static final String TAG = "supply";
		//用户头像的后缀头像的后缀
		public static final String PREVIEW_FACE = ".preview";
	}

	public static final class Path
	{
		/**
		 * sdcard缓存路径
		 */
		public static final String PATH_SD_CACHE = Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator + Config.TAG + File.separator;

		public static String PATH_DATA = PATH_SD_CACHE + File.separator + "data" + File.separator;
		public static String PATH_SHARE = PATH_SD_CACHE + File.separator + "share" + File.separator;
		public static String PATH_PIC = PATH_SD_CACHE + File.separator + "pic" + File.separator;
		public static String PATH_SHARE_NO_MEDIA = PATH_SHARE + ".nomedia";
		public static String PATH_RECORD = PATH_SD_CACHE + "record" + File.separator;
		public static String PATH_RECORD_NO_MEDIA = PATH_RECORD + ".nomedia";
		public static String PATH_THUMB = PATH_SD_CACHE + "thumb" + File.separator;
		public static String PATH_THUMB_NO_MEDIA = PATH_THUMB + ".nomedia";
		public static String PATH_SCREENSHOTS = Environment.getExternalStorageDirectory().getAbsolutePath() + "/Pictures/Screenshots";
	}

	public static final String FLAG_ACTIVITY_KEY="flagActivityKey";
	/**
	 * 入库定位
	 */
	public static final int FLAG_ACTIVITY_IN_BOUND_LOCATION_UI=1;
	/**
	 * 出库定位
	 */
	public static final int FLAG_ACTIVITY_OUT_BOUND_LOCATION_UI=2;
	/**
	 * 订单入库
	 */
	public static final int FLAG_ACTIVITY_ORDER_IN_BOUND_UI=3;
	/**
	 * 订单出库
	 */
	public static final int FLAG_ACTIVITY_ORDER_OUT_BOUND_UI=4;
	/**
	 * 通知单入库详情
	 */
	public static final int FLAG_ACTIVITY_NOTICE_IN_BOUND_DETAILS_UI=5;
	/**
	 * 通知单出库详情
	 */
	public static final int FLAG_ACTIVITY_NOTICE_OUT_BOUND_DETAILS_UI=6;
	/**
	 * 收货确认界面
	 */
	public static final int FLAG_ACTIVITY_RECEIVING_GOODS_UI=7;
	/**
	 * 发货确认界面
	 */
	public static final int FLAG_ACTIVITY_SEND_GOODS_UI=8;
	/**
	 * 通知单入库界面
	 */
	public static final int FLAG_ACTIVITY_NOTICE_LETTER_IN_BOUND_UI=9;
	/**
	 * 通知单出库界面
	 */
	public static final int FLAG_ACTIVITY_NOTICE_LETTER_OUT_BOUND_UI=10;
	/**
	 * 订单入库详情界面
	 */
	public static final int FLAG_ACTIVITY_ORDER_IN_BOUND_DETAIL_UI=11;
	/**
	 * 订单出库详情界面
	 */
	public static final int FLAG_ACTIVITY_ORDER_OUT_BOUND_DETAIL_UI=12;
	/**
	 * 入库定位详情界面
	 */
	public static final int FLAG_ACTIVITY_IN_BOUND_LOCATION_DETAIL_UI=13;
	/**
	 * 出库定位详情界面
	 */
	public static final int FLAG_ACTIVITY_OUT_BOUND_LOCATION_DETAIL_UI=14;
	/**
	 * 来自订单入库详情To批量作业界面
	 */
	public static final int FLAG_ACTIVITY_COME_ORDER_IN_BOUND_DETAIL_UI=15;
	/**
	 * 来自订单出库详情To批量作业界面
	 */
	public static final int FLAG_ACTIVITY_COME_ORDER_OUT_BOUND_DETAIL_UI=16;
	/**
	 * 来自通知单入库详情To批量作业界面
	 */
	public static final int FLAG_ACTIVITY_COME_NOTICE_LETTER_OUT_BOUND_DETAIL_UI=17;
	/**
	 * 来自通知单出库详情To批量作业界面
	 */
	public static final int FLAG_ACTIVITY_COME_NOTICE_LETTER_IN_BOUND_DETAIL_UI=18;

	/**
	 * 收货确认详情界面物料Item
	 * 发货确认详情界面物料Item
	 */
	public static final int FLAG_RECEIVING_AND_SEND_GOODS_DETAAIL_UI_MATERIEL_ITEM = 19;
	/**
	 * 收货确认详情界面作业Item
	 * 发货确认详情界面作业Item
	 */
	public static final int FLAG_RECEIVING_AND_SEND_GOODS_DETAILA_UI_WORK_ITEM = 20;

	/**
	 * 收货确认详情界面
	 */
	public static final int FLAG_ACTIVITY_RECEIVING_GOODS_DETAAIL_UI = 21;
	/**
	 * 发货确认详情界面
	 */
	public static final int FLAG_ACTIVITY_SEND_GOODS_DETAILA_UI = 22;

}
